package jp.cane.delicious.recipe07;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class SecondActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.second);

		Intent intent = getIntent();
		String text = intent.getStringExtra(Intent.EXTRA_TEXT);

		TextView textView = (TextView) findViewById(R.id.label1);
		textView.setText(text);
	}
}
